package day04;
//本类是用来测试单路分支的演示demo
public class Test01 {
    public static void main(String[] args) {
        double price =300.0;
        if (price>=500) {
            price *= 0.8;
        }
            System.out.println("最终消费金额为："+price);

        }

}
